package com.hoshiicloud.marketmanagement.service;

import com.hoshiicloud.common.rpc.Response;
import com.hoshiicloud.goods.entity.sku.ProductManage;
import com.hoshiicloud.goods.param.sku.ProductManageAddParam;
import com.hoshiicloud.market.param.activities.ActiviteGoodsDeleteDto;
import com.hoshiicloud.market.param.activities.ActivitiesProductManageQueryParam;
import java.util.List;

/**
 * @author MarkerCCC
 * @date 2019-09-18 - 11:23
 */
public interface MarketManagementService {

    void addTemporaryActivityGoods(List<ProductManage> productManageList, String temporaryGoodsRedisKey);

    Response queryProductManagePage(ActivitiesProductManageQueryParam activitiesProductManageQueryParam);

    Response<List<ProductManage>> queryProductManageAll(ActivitiesProductManageQueryParam activitiesProductManageQueryParam);

    List<ProductManage> getRedisDataPage(String temporaryGoodsRedisKey, Long pageNumber, Long pageSize);

    void deleteTemporaryActivityGoods(ActiviteGoodsDeleteDto activiteGoodsDeleteDto);

    void deleteTemporaryActivityGoodsAll(ActiviteGoodsDeleteDto activiteGoodsDeleteDto);
}
